package ${basePackageName}.service.app;

import cn.iocoder.yudao.framework.business.basic.service.impl.AbstractService;
import ${package.Entity}.${entity};
import ${basePackageName}.convert.${convertName};
import ${basePackageName}.pojo.vo.${viewObject};
import ${basePackageName}.convert.${convertName};
import ${package.Mapper}.${table.mapperName};
import ${package.Service}.${table.serviceName};
import jakarta.annotation.Nonnull;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 服务
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author ${author}
 * @since ${date}
 */
@Service
public class App${table.serviceName} extends AbstractService<${entity}, ${viewObject}> {
    @Resource
    private ${table.mapperName} ${mapperNameVar};

    @Override
    public ${table.mapperName} getInjectedMapper() {
        return ${mapperNameVar};
    }

    @Override
    public ${viewObject} convertToViewObject(${entity} entity) {
        return ${convertName}.INSTANCE.toViewObject(entity);
    }

}
